public class Train01 {
    public static void foundShuiXianHua() {
        int count = 0;
        int a, b, c;
        for (int i = 100; i < 1000; i++) {
            a = i % 10;//个位
            b = i / 10 % 10;//十位
            c = i / 100;//百位
            if (a * a * a + b * b + c * c * c == i) {
                count++;
                System.out.println("水鲜花：" + i);
            }
        }
        System.out.println("水仙花一共有" + count);
    }
}
